<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">
    <title>购物车</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

    <link rel="stylesheet" href="css/GoodsDetails_Css.css"/>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/public.js"></script>
    <script type="text/javascript" src="js/shop/reptory_shop_info.js"></script>
    <script>
        function back() {
            window.history.back(-1);
        }
    </script>
</head>

<body>
<jsp:include page="/public.jsp"/>
<input type="hidden" id="repertoryid" value="<%=request.getParameter("repertoryid")%>"/>
<header class="header">
    <div align="left" class="a">
        <img src="img/arrow_eft_circle.png" style="padding: 10px;height: 28px; width: 28px;" onclick="back()"/>
    </div>

    <div align="center" class="a">
        <span style="padding: 15px;font-size: 23px;color: white;">商品规格</span>
    </div>

    <div align="right" class="a">
        <img src="img/more.png" style="padding: 10px;height: 28px;width: 28px;"/>
    </div>
</header>

<div class="ware-content clearboth">

    <div class="ware-xiangqing clearboth">
        <div class="left clearboth">
            <img src="img/ware.png" id="shopimg" onerror="imgerror(this,'img/onerror.png');"/>
            <div class="title">
                <b id="shopname">海螺面</b>
                <span>商品规格：<i id="shop_weight">50</i>g</span>
            </div>
        </div>

        <div class="right">
            <div class="title">
                <b>￥：<span id="shop_price"></span></b>
                <span>保质期：<i id="expired">7</i>天</span>
            </div>
        </div>
    </div>

    <%--<div class="about_item">--%>
        <%--<span>宝宝性别</span>--%>
        <%--<span>男宝宝</span>--%>
    <%--</div>--%>
    <%--<hr style="height: 1px; width: 100%; float: right; background-color: #f4f4f4; border: none;"/>--%>

    <%--<div class="about_item">--%>
        <%--<span>宝宝年龄</span>--%>
        <%--<span>12-18月</span>--%>
    <%--</div>--%>
    <%--<hr style="height: 1px; width: 100%; float: right; background-color: #f4f4f4; border: none;"/>--%>

    <div class="about_item">
        <span>选择商品规格</span>
        <span id="specname">绿色/菠菜味</span>
    </div>
    <hr style="height: 1px; width: 100%; float: right; background-color: #f4f4f4; border: none;"/>

    <div class="about_item">
        <span>剩余数量</span>
        <span style="font-size: 16px;float: right;margin-right: 10px;color: red;"><b id="surplusnum">10</b>件</span>
    </div>
    <hr style="height: 1px; width: 100%; float: right; background-color: #f4f4f4; border: none;"/>
    <jsp:include page="/files/public_hint.jsp"/>
</body>
</html>